package bean.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import commons.jdbc.annotation.Column;
import commons.jdbc.annotation.PrimaryKey;
import commons.jdbc.annotation.Table;
import lombok.Data;

import java.util.Date;

/**
 * bean.pojo
 * User: xlh
 * Date: 2024/12/17 9:25
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */
@Data
@Table(value = "expense_type")
public class ExpenseType {
    @Column("type_id")  //这是数据的字段  字段名和属性名一致
    @PrimaryKey(isAutoIncrease = true)  //这字段是主键
    private Integer typeId;
    @Column(value = "type_name")   //这是数据的字段  字段名和属性名不一致   communityName对上  community_name
    private String typeName;
    @Column("type_price")
    private Double typePrice;
    @Column("type_description")
    private String typeDescription;

    @Column("type_time")
    private String typeTime;

}
